package com.lagou.demo;

public class Hero {

    @Deprecated
    public void say() {
        System.out.println("Nothing has to say!");
    }

    @SafeVarargs
    public static void speak(String ...arg) {
        System.out.println("I hava a dream!");
    }
}
